package com.lottery.dto;

import java.util.Date;

public class WinningResultsDto {

	private int id;// 主键id
	private int userId;// 用户id
	private String expect;// 期号
	private String bettingrule;// 投注规则
	private int state; // 彩券下注状态,0是未中奖，1是已中奖
	private double winningamount; // 中奖金额
	private Date bettingDate;// 下注时间
	private double bettingMoney;//下注金额
	
	public double getBettingMoney() {
		return bettingMoney;
	}

	public void setBettingMoney(double bettingMoney) {
		this.bettingMoney = bettingMoney;
	}

	public WinningResultsDto() {
		super();
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getExpect() {
		return expect;
	}

	public void setExpect(String expect) {
		this.expect = expect;
	}

	public String getBettingrule() {
		return bettingrule;
	}

	public void setBettingrule(String bettingrule) {
		this.bettingrule = bettingrule;
	}

	public int getState() {
		return state;
	}

	public void setState(int state) {
		this.state = state;
	}

	public double getWinningamount() {
		return winningamount;
	}

	public void setWinningamount(double winningamount) {
		this.winningamount = winningamount;
	}

	public Date getBettingDate() {
		return bettingDate;
	}

	public void setBettingDate(Date bettingDate) {
		this.bettingDate = bettingDate;
	}

	@Override
	public String toString() {
		return "WinningResultsDto [id=" + id + ", userId=" + userId + ", expect=" + expect + ", bettingrule="
				+ bettingrule + ", state=" + state + ", winningamount=" + winningamount + ", bettingDate=" + bettingDate
				+ ", bettingMoney=" + bettingMoney + "]";
	}
}
